package top.caozj.util;

/**
 * Copyright (c) 2010, 2025, xjk All rights reserved.
 *
 * @author caozj thucaozj@outlook.com
 * @version 1.0
 * @date 2025-03-26
 * @since 20
 */

public enum DataSourceType {
    MYSQL("mysql"),
    ORACLE("oracle"),
    SQLSERVER("sqlserver"),
    POSTGRESQL("postgresql"),
    DB2("db2"),
    SQLITE("sqlite"),
    H2("h2"),
    HIVE("hive"),
    HBASE("hbase"),
    MONGODB("mongodb"),
    REDIS("redis"),
    ELASTICSEARCH("elasticsearch"),
    KAFKA("kafka"),
    KUDU("kudu");

    private final String type;
    DataSourceType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }
}
